<template>
  <div class="component_wrap">
    <LssSelect v-model="selectValue" :options="optionsTest" labelKey="name" valueKey="code"/>
    <div class="val-txt">选中的值：{{ selectValue }}</div>
  </div>
</template>
<script setup lang="ts">
import { ref } from "vue"
const selectValue = ref('')

const optionsTest = ref([
  {
    name: '北京',
    code: '1000'
  },
  {
    name: '上海',
    code: '1100'
  },
  {
    name: '天津',
    code: '1200'
  }
])
</script>
